package DemoTest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author yqb
 * @version 1.0
 * @date 2018/12/30 19:29
 */
@Controller
@RequestMapping("/test/")
public class TestController {
    @GetMapping("test")
    public String test(){
        return "hello";
    }

    @GetMapping("1231231232")
    public String test2(){
        System.out.println("123123123");
        return "hello";
    }

    @GetMapping("test")
    public String qbTest(){
        return "秋波是个大笨蛋";
    }
    
    @GetMapping("test2")
    public String qbTest2(){
        return "秋波是个大笨蛋";
    }
}
